package com.zb.zbtpd.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="ZBT-COMMON")
public interface NewsFeignClient {
    @RequestMapping("/zbt/common/news/findNews")
    String findNews(@RequestParam("newstypeid") String newstypeid,@RequestParam("currentPage") int currentPage);

    @RequestMapping("/zbt/common/news/findNewsInnovation")
    String findNewsInnovation();

    @RequestMapping("/zbt/common/news/findNewsQualification")
    String findNewsQualification();

    @RequestMapping("/zbt/common/news/findNewsTechnolog")
    String findNewsTechnolog();

    @RequestMapping("/zbt/common/news/findNewsIntellectual")
    String findNewsIntellectual();

    @RequestMapping("/zbt/common/news/findNewsById")
    String findNewsById(@RequestParam("newsid") String newsid);

}
